<div class="breadcrumbs" id="breadcrumbs">
    <script type="text/javascript">
            try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
            jQuery(function($) {
                $("#footer").load("main/footer.html");
            });
        </script>
    <ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#index">首页</a>
        </li>
        <li class="active">商品/服务</li>
        <li class="active">库存设置</li>
    </ul>
</div>
<div class="page-content" >
    <div class="row">
        <div class="col-xs-12">
            <form ng-submit="memberManagementUpdate(memberManagement)" class="form-horizontal" role="form" id="memberManagementForm">
                <!-- PAGE CONTENT BEGINS -->
                <div id="basediv">
                    <div class='row'>

                    </div>

                    <div class="widget-box" id="accordion">

                        <div class="widget-header">
                            <h4 class="widget-title" >
                                <i class="menu-icon fa fa-unlock"></i>
                                会员办卡
                            </h4>

                            <div class="widget-toolbar">
                                <a data-toggle="collapse" data-parent="#accordion"
                                   href="./member_management_edit.html#collapseThree"> <i
                                        class="ace-icon fa fa-chevron-up"></i>
                                </a>
                            </div>
                        </div>
                        <div id="collapseThree">
                            <div class="widget-body">
                                <div class="widget-main" >
                                    <fieldset id="inverntoryDetailsFormFieldset">
                                        <div class="form-group">
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="vipType"> 会员类别</label>
                                            <div class="col-sm-5">
										<span class="block input-icon input-icon-right">  
                                            <select id="vipType" name="vipType" ng-model="memberManagement.vipType" class="form-control"
                                                    ng-options="vip for vip in vipTypeArry">
                                        </select>
										</span>
                                            </div>

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="operatorNum">操作员</label>
                                            <div class="col-sm-5">
										<span class="block input-icon input-icon-right" >
                                            <select id="operatorNum" name="operatorNum" ng-model="memberManagement.operatorNum.usrKey" class="form-control"
                                                    ng-options="stmUsr.usrKey as stmUsr.usrName for stmUsr in stmUsrList">
                                        </select>
                                        </span>
                                            </div>

                                        </div>


                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="vipNum"> 会员卡号</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                    type="text"   ng-model="memberManagement.vipNum" id="vipNum" name="vipNum" class="form-control" value="{{ memberManagement.vipNum }}"/>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="menberName"> 会员姓名 </label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="memberManagement.menberName" id="menberName" name="menberName" class="form-control" value="{{ memberManagement.menberName }}"/>
                                                </span>

                                            </div>
                                        </div>


                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="amount">预存款</label>
                                            <div class="col-sm-2">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"    ng-model="memberManagement.amount" id="amount" name="amount" class="form-control" value="{{ memberManagement.amount }}"/>

                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="paymentMethod">付款方式</label>
                                            <div class="col-sm-2">
                                                <span class="block input-icon input-icon-right"> <select id="paymentMethod" name="paymentMethod" ng-model="memberManagement.paymentMethod" class="form-control"
                                                                                       ng-options="pay for pay in payMethod"></select>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right" for="sex1"> 性别 </label>
                                            <div class="col-sm-2">
                                                    <input id="sex1" name="sex" type="radio" ng-model="memberManagement.sex" value="男" />男
                                                    <input type="radio" id="sex2" name="sex" type="radio" ng-model="memberManagement.sex" value="女" />女
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right" for="activityAmount"> 活动方式 </label>
                                            <div class="col-sm-2">
                                                <span class="block input-icon input-icon-right">
                                                    <select id="activityAmount" name="activityAmount" ng-model="memberManagement.activityAmount" class="form-control"
                                                                 ng-options="activity.activityAmount as activity.actName for activity in activityList"></select>
                                                </span>
                                            </div>
                                        </div>

                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="birthday"> 生日</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="memberManagement.birthday" id="birthday" name="birthday" class="form-control" value="{{ memberManagement.birthday }}"/>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="identityCard"> 身份证 </label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="memberManagement.identityCard" id="identityCard" name="identityCard" class="form-control" value="{{ memberManagement.identityCard }}"/>
                                                </span>

                                            </div>
                                        </div>

                                        <div class="form-group">

                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="carExpire"> 到期日期</label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="memberManagement.carExpire" id="carExpire" name="carExpire" class="form-control" value="{{ memberManagement.carExpire }}"/>
                                                </span>
                                            </div>
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="vipTel"> 手机号 </label>
                                            <div class="col-sm-5">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="memberManagement.vipTel" id="vipTel" name="vipTel" class="form-control" value="{{ memberManagement.vipTel }}"/>
                                                </span>

                                            </div>
                                        </div>

                                        <div class="form-group">
                                            <label class="col-sm-1 control-label no-padding-right"
                                                   for="address"> 地址</label>
                                            <div class="col-sm-11">
                                                <span class="block input-icon input-icon-right"> <input
                                                        type="text"   ng-model="memberManagement.address" id="address" name="address" class="form-control" value="{{ memberManagement.address }}"/>
                                                </span>
                                            </div>
                                        </div>



                                        <!--  <div class="form-group" ng-show="outGoing"></div>

                                          <div class="form-group" ng-if="storage"></div>

                                          <div class="form-group"></div>-->
                                    </fieldset>

                                </div>
                            </div>
                        </div>

                    </div>
                </div>
                <div style="margin-left:450px">
                    <button type="submit"
                            class="btn btn-app btn-warning btn-xs" id="saveButton"> <i
                            class="ace-icon fa fa-floppy-o bigger-200"></i> 提交
                    </button>
                    <a href="#" ng-click="returnList()" class="btn btn-app btn-pink btn-xs"
                       id="returnButton"> <i class="ace-icon fa fa-reply bigger-200"></i>
                        返回
                    </a>
                </div>
            </form>
        </div>
    </div>
</div>
<script>
    $( "#birthday" ).fdatepicker({
			format: 'yyyy-mm-dd',
		});
    $( "#carExpire" ).fdatepicker({
			format: 'yyyy-mm-dd',
		});
</script>